<table class="table table-striped">
    <thead>
    <tr>
        <th>ID</th>
        <th>章节名称</th>
        <th>章节索引</th>
        <th>是否发布</th>
    </tr>
    </thead>
    <tbody>
    {volist name="data" id="vo"}
    <tr>
        <th scope="row">{$vo.id}</th>
        <td>{$vo.title}</td>
        <td>{$vo.number}</td>
        <td>
            {if $vo.is_push eq 0}
            <input class="btn btn-primary" href="#" type="button" value="未发布">
            {else/}
            <a class="btn btn-default" href="#" role="button">已发布</a>
            {/if}
        </td>
    </tr>
    {/volist}
    </tbody>
</table>

{$data->render()}